package com.tsing.websocket.server;

public enum SocketTypeEnum {

    SUCCESS(0),

    CONNECTED(1),

    DISCONNECTED(-1),

    ERROR(2);

    private final int code;

    SocketTypeEnum(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

}
